package face.pay.callback.entity;

public class OrderMessage {

    private Long id;

    private Integer oemId;

    /**
     * 商户 登录用户ID
     */
    private Integer userId;

    /**
     * 门店ID
     */
    private Integer storeId;

    /**
     * 设备id
     */
    private Integer terminalId;

    private String sn;


    /**
     * 交易金额
     */
    private Long totalFee;

    private Long actFee;

    private Long actInnerFee;


    /**
     * 结算费率
     */
    private Double rate;

    /**
     * 补贴金额
     */
    private Long  subsidyMoney;

    /**
     * WECHAT
     * ALIPAY
     * 第三方 face自定义编码
     */
    private String channelCode;

    /**
     * WECHAT
     * ALIPAY
     */
    private String type;


    /**
     * FACE
     * SQR
     */
    private String payType;


    /**
     * 支付用户标识
     *  openid 支付宝用户标识
     *  或其他渠道用户标识
     */
    private String payUserSign;

    /**
     * 支付订单号
     */
    private String tradeNo;

    /**
     * 支付凭证
     * 1.微信是authCode
     */
    private String payCode;

    /**
     * 订单支付状态
     */
    private Integer status;


    private  String ip;

    private String  createdTime;


    private String  updatedTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getOemId() {
        return oemId;
    }

    public void setOemId(Integer oemId) {
        this.oemId = oemId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getTerminalId() {
        return terminalId;
    }

    public void setTerminalId(Integer terminalId) {
        this.terminalId = terminalId;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Long getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Long totalFee) {
        this.totalFee = totalFee;
    }

    public Double getRate() {
        return rate;
    }

    public void setRate(Double rate) {
        this.rate = rate;
    }

    public Long getSubsidyMoney() {
        return subsidyMoney;
    }

    public void setSubsidyMoney(Long subsidyMoney) {
        this.subsidyMoney = subsidyMoney;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPayUserSign() {
        return payUserSign;
    }

    public void setPayUserSign(String payUserSign) {
        this.payUserSign = payUserSign;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getPayCode() {
        return payCode;
    }

    public void setPayCode(String payCode) {
        this.payCode = payCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Long getActFee() {
        return actFee;
    }

    public void setActFee(Long actFee) {
        this.actFee = actFee;
    }

    public Long getActInnerFee() {
        return actInnerFee;
    }

    public void setActInnerFee(Long actInnerFee) {
        this.actInnerFee = actInnerFee;
    }

    @Override
    public String toString() {
        return "OrderMessage{" +
                "id=" + id +
                ", oemId=" + oemId +
                ", userId=" + userId +
                ", storeId=" + storeId +
                ", terminalId=" + terminalId +
                ", sn='" + sn + '\'' +
                ", totalFee=" + totalFee +
                ", actFee=" + actFee +
                ", actInnerFee=" + actInnerFee +
                ", rate=" + rate +
                ", subsidyMoney=" + subsidyMoney +
                ", channelCode='" + channelCode + '\'' +
                ", type='" + type + '\'' +
                ", payType='" + payType + '\'' +
                ", payUserSign='" + payUserSign + '\'' +
                ", tradeNo='" + tradeNo + '\'' +
                ", payCode='" + payCode + '\'' +
                ", status=" + status +
                ", ip='" + ip + '\'' +
                ", createdTime='" + createdTime + '\'' +
                ", updatedTime='" + updatedTime + '\'' +
                '}';
    }
}
